<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>消息表</title>
<t:base type="ckfinder,ckeditor,jquery,easyui,tools,DatePicker"></t:base>
<script type="text/javascript" src="plug-in/ckeditor_new/ckeditor.js"></script>
<script type="text/javascript" src="plug-in/ckfinder/ckfinder.js"></script>
<script type="text/javascript">
  //编写自定义JS代码
  </script>
</head>
<body>
	<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="bnsMessageController.do?doAdd" tiptype="1">
		<input id="id" name="id" type="hidden" value="${bnsMessagePage.id }">
		<input id="createDate" name="createDate" type="hidden" value="${bnsMessagePage.createDate }">
		<input id="createName" name="createName" type="hidden" value="${bnsMessagePage.createName }">
		<input id="createBy" name="createBy" type="hidden" value="${bnsMessagePage.createBy }">
		<input id="receiveName" name="receiveName" type="hidden" value="${bnsMessagePage.receiveName }">
		<input id="sort" name="sort" type="hidden" value="${bnsMessagePage.sort }">
		<input id="updateName" name="updateName" type="hidden" value="${bnsMessagePage.updateName }">
		<input id="updateBy" name="updateBy" type="hidden" value="${bnsMessagePage.updateBy }">
		<input id="updateDate" name="updateDate" type="hidden" value="${bnsMessagePage.updateDate }">
		<input id="isRead" name="isRead" type="hidden" value="${bnsMessagePage.isRead }">
		<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
			<tr>
				<td align="right">
					<label class="Validform_label"> 标题: </label>
				</td>
				<td class="value">
					<input id="title" name="title" type="text" style="width: 350px" class="inputxt" datatype="s1-50">
					<span class="Validform_checktip"></span>
					<label class="Validform_label" style="display: none;">标题</label>
				</td>
			</tr>
			<tr>
				<td align="right">
					<label class="Validform_label"> 消息类型: </label>
				</td>
				<td class="value">
					<t:dictSelect field="messageTypes" type="list" typeGroupCode="msgType" defaultVal="${bnsMessagePage.messageTypes}" hasLabel="false" title="消息类型"></t:dictSelect>
					<span class="Validform_checktip"></span>
					<label class="Validform_label" style="display: none;">消息类型</label>
				</td>
				
			<tr>
				<td align="right">
					<label class="Validform_label"> 接收人: </label>
				</td>
				<td class="value">

					<input name="userId" type="hidden" value="${userId}" id="userId">
					<input name="userName" class="inputxt" value="${userName}" id="userName" readonly="readonly" datatype="*" />
					<t:choose hiddenName="userId" hiddenid="id" url="bnsMessageController.do?chooseMb" name="mbList" icon="icon-search" title="" textname="userName"
						isclear="true" isInit="true"></t:choose>
						
					<span class="Validform_checktip"></span>
					<label class="Validform_label" style="display: none;">接收人</label>
				</td>
			</tr>
			<tr>
				<td align="right">
					<label class="Validform_label"> 是否发送: </label>
				</td>
				<td class="value">
					<t:dictSelect field="states" type="radio" typeGroupCode="sf_yn" defaultVal="${bnsMessagePage.states}" hasLabel="false" title="是否发送"></t:dictSelect>
					<span class="Validform_checktip"></span>
					<label class="Validform_label" style="display: none;">是否发送</label>
				</td>

			</tr>
			<tr>
				<td align="right">
					<label class="Validform_label"> 内容: </label>
				</td>
				<td class="value">
					<t:ckeditor name="content" isfinder="true" value="" type="width:700"></t:ckeditor>
					<span class="Validform_checktip"></span>
					<label class="Validform_label" style="display: none;">内容</label>
				</td>
			</tr>
			
		</table>
	</t:formvalid>
</body>
<script src="webpage/com/buss/message/bnsMessage.js"></script>